- article.contents.each do |content|
  - if edit_mode  
    - partial = content.language_type == "text" ? "articles/edit_text" : "articles/edit_source"
  - else
    - partial = content.language_type == "text" ? "articles/text" : "articles/source"  
  = render :partial => partial, :object => content
